package com.rent.member.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员浏览记录
 * </p>
 *
 * @author zn
 * @since 2025-03-04
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ums_member_browse_history")
@ApiModel(value = "UmsMemberBrowseHistory对象", description = "会员浏览记录")
public class UmsMemberBrowseHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("member_id")
    private Integer memberId;

    @TableField("nick_name")
    private String nickName;

    @TableField("head_img")
    private String headImg;

    @ApiModelProperty("1.动态2.栏目3.店铺")
    @TableField("type")
    private Integer type;

    @TableField("content_id")
    private Integer contentId;

    @ApiModelProperty("浏览关键词")
    @TableField("browse_key")
    private String browseKey;

    @ApiModelProperty("浏览内容")
    @TableField("content")
    private String content;

    @ApiModelProperty("次数")
    @TableField("number")
    private Integer number;

    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("积分备注")
    @TableField("remark")
    private String remark;
}
